home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / mac / DirectX SDK / DXSDK / bin / dxsetenv.bat
DOS Batch File  |  2001-10-08  |  1KB  |  43 lines

  1. @ECHO OFF
  2. REM               Dxsetenv.bat
  3. REM
  4. REM This is used to Set your Environment for DirectX Build.
  5. REM
  6. REM **Please set the below set statements to match your environment.**
  7.  
  8.  
  9. REM set 32 bit C Compiler 
  10. REM **Please change the below line to point to your C Compiler Path.**
  11. set C32_ROOT=C:\PROGRA~1\DEVSTU~1\VC
  12.  
  13. REM Watcom
  14. REM set C32_ROOT=c:\watcom
  15.  
  16. REM Borland
  17. REM set C32_ROOT=c:\borland\cbuilder3
  18.  
  19. REM set DirectX SDK Path
  20. REM **Please change the below line to point to your DirectX SDK Path.**
  21. Set DXSDKROOT=C:\mssdk
  22.  
  23. REM **Please Do not Change the paths below.**
  24.  
  25. REM This is used to set up your Include and Lib Paths.
  26.  
  27. Set path=%C32_ROOT%\Bin;%C32_ROOT%\..\SharedIDE\Bin;%path%
  28. Set include=%DXSDKROOT%\include;%C32_ROOT%\include;%C32_ROOT%\mfc\include;%include%
  29. Set LIB=%DXSDKROOT%\lib;%C32_ROOT%\LIB;%C32_ROOT%\MFC\LIB;%LIB%;
  30.  
  31. REM Watcom
  32. REM Set path=%C32_ROOT%\binnt;%path%
  33. REM Set include=%DXSDKROOT%\include;%C32_ROOT%\h;%C32_ROOT%\h\nt;%C32_ROOT%\mfc\include;%include%
  34. REM Set lib=%DXSDKROOT%\lib;%C32_ROOT%\lib386\nt;%lib%
  35.  
  36. REM Borland
  37. REM Set path=%C32_ROOT%\bin;%path%
  38. REM Set include=%DXSDKROOT%\include;%C32_ROOT%\include;%C32_ROOT%\include\mfc;%include%
  39. REM Set lib=%DXSDKROOT%\lib\borland;%C32_ROOT%\lib;%lib%
  40.  
  41. REM Remove C32_ROOT
  42. set C32_ROOT=
  43.